﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Utility
{
    public class FieldValue
    {
        //构造函数
        public FieldValue() { }
        /// <summary>
        /// 字段名和值
        /// </summary>
        /// <param name="name"></param>
        /// <param name="value"></param>
        public FieldValue(string name, object value)
        {

            this.name = name;
            this.value = value;
        }
        private string name;
        /// <summary>
        /// 字段名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private object value;
        /// <summary>
        /// 字段值
        /// </summary>
        public object Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

    }
}
